# -*- coding: utf-8 -*-
# function： 轻量级 django 静态站点，包含 bootstrap
# __author__ = 'yeslf'

import sys,os

from django.conf import settings

BASE_DIR = os.path.dirname(__file__)

settings.configure(
	DEBUG = True,
	SECRT_KEY = 'thisissetok',
	ALLOWED_HOSTS = ['*',],
	ROOT_URLCONF = 'siteuse.urls',
	MIDDLEWAE_CLASSES = (),
	INSTALLED_APPS = (
		'django.contrib.staticfiles',
		'siteuse',
		),
	TEMPLAES = (
		{
		'BACKEND':'django.template.backends.django.DjangoTemplates',
		'DIRS':[],
		'APP_DIRS':True,

		},
		),
	STATIC_URL = '/static/',
	SITE_PAGES_DIRECTORY = os.path.join(BASE_DIR,'pages'),
) 

if __name__ == '__main__':
	from django.core.management import execute_from_command_line

execute_from_command_line(sys.argv)
